import { BrowserWindow } from "electron";

export function toMiniSize(win: BrowserWindow) {
  win.minimize();
}

export function toMaxSize(win: BrowserWindow) {
  win.isMaximized() ? win.unmaximize() : win.maximize();
}
